package com.study.lxy.springcloud.brac_ia.serviceClient;

import com.study.lxy.springcloud.brac_ia.entity.ClientUser;
import com.study.lxy.springcloud.common.format.ServiceResp;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(name="uclient")
public interface UclientClient {
    @RequestMapping(value="/loginOn",method = RequestMethod.POST)
    ServiceResp Login(@RequestBody ClientUser user);
}
